public class TextSearch {
	public static int comparision; // Increment this every time a comparision is made

	public static int[] last(String p) {
		//Inside the loop, go through each charater
		//If it's first occurance of the character, put it in an array.
		//If not, don't do anything.
		//put the length of the array at the end.
		return null;
	}

	public static int[] failure(String p) {
		// TODO
		return null;
	}

	public static int runBruteForce(String t, String p) {
		// TODO
		return 0;
	}

	public static int runBoyerMoore(String t, String p) {
		// TODO
		return 0;
	}

	public static int runKMP(String t, String p) {
		// TODO
		return 0;
	}

	// DO NOT edit code below this line

	public static void resetComp() {
		comparision = 0;
	}

	public static int getComp() {
		return comparision;
	}

}
